/**
 * Copyright (c) 2016-2019 九点科技 All rights reserved.
 *
 * http://www.9dyun.cn
 *
 * 版权所有，侵权必究！
 */
package com.dian.modules.enums.inv;

import com.dian.common.enums.EnumMessage;
/**
 * 入库单-入库类型枚举
 *
 * @author Jinag Run
 * @email 1685269193qq.com
 * @date 2019-06-29 15:32:56
 */
public enum InHead_InTypeEnum implements EnumMessage{

    /**
     * 采购入库 POS 1
     */
    POS(1,"采购入库"),

    /**
     * 调拨入库 TRAN 2
     */
    TRAN(2,"调拨入库"),

    /**
     * 其它入库 OTHER 3
     */
    OTHER(3,"其它入库"); 

    private int code;
    private String desc;

    InHead_InTypeEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    @Override
    public int getValue() {return code;}

    @Override
    public String getDesc() {return desc;}
}
